// routes对象需要根据接口返回实现权限路由
const routes = [
    {
        path: '/',
        name: '首页',
        component: () => import('@/views/basisConfig/index.vue'),
        meta: {
            title: '首页'
        }
    },
    {
        path: '/scheduling',
        name: '门诊排班',
        component: () => import('@/views/scheduling/index.vue'),
        meta: {
            title: '首页'
        }
    },
    {
        path: '/registration',
        name: '挂号管理',
        component: () => import('@/views/registration/index.vue'),
        meta: {
            title: '首页'
        }
    },
    {
        path: '/userManagement',
        name: '用户管理',
        component: () => import('@/views/userManagement/index.vue'),
        meta: {
            title: '用户管理'
        }
    },
    {
        path: '/supplier',
        name: '供应商管理',
        component: () => import('@/views/supplier/index.vue'),
        meta: {
            title: '供应商管理'
        }
    },
    {
        path: '/medSupCatalog',
        name: '卫材目录管理',
        component: () => import('@/views/medSupCatalog/index.vue'),
        meta: {
            title: '卫材目录管理'
        }
    },
    {
        path: '/department',
        name: '部门',
        component: () => import('@/views/department/index.vue'),
        meta: {
          title: '部门管理'
        }
    },
    {
        path: '/personnel',
        name: '人员',
        component: () => import('@/views/personnel/index.vue'),
        meta: {
          title: '人员管理'
        }
    },
    {
        path: '/feeItems',
        name: '收费项目管理',
        component: () => import('@/views/feeItems/index.vue'),
        meta: {
            title: '收费项目管理'
        }
    },
    {
        path: '/doctorStation',
        name: '门诊医生工作站',
        component: () => import('@/views/doctorStation/index.vue'),
        meta: {
            title: '门诊医生工作站'
        }
    },
]

export default routes
